/*
Copyright (C) 2022-2024 Inspur Corp. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
*/
package constant

import "os"

const (
	DefaultSalt           = "icep1029!@"
	DefaultPwd            = "$2a$10$hzPYPduL8b6vhANQy7i.6uwqyeUqs2CPhiBtrJUb8E/2wXy4rmgpK"
	DefaultOrgCertRootDir = "/etc/icep-service/certs"

	DirIam        = "iam"
	DirAdminCerts = "admincerts"
	DirCaCerts    = "cacerts"
	DirCert       = "cert"
	DirTlsCaCerts = "tlscacerts"

	UserTypeAdmin  = "0"
	UserTypePerson = "1"
	UserTypeOrg    = "2"

	TimeLayout = "2006-01-02 15:04:05"

	UserStatusInvalid = "0"
	UserStatusNormal  = "1"
	Access
	Types

	IdentityStatusInvalid = "0"
	IdentityStatusNormal  = "1"

	ObtainStatusProcessing = "0"
	ObtainStatusSuccess    = "1"
	ObtainStatusFailure    = "2"

	ObtainTypeHtml  = "0"
	ObtainTypePict  = "1"
	ObtainTypeVideo = "2"

	FileSeparator = string(os.PathSeparator)
)
